package com.yuncheng.ccsystem.announce.mapper;

import java.util.List;

import com.yuncheng.ccsystem.announce.model.AnnouncementSendModel;
import org.apache.ibatis.annotations.Param;
import com.yuncheng.ccsystem.announce.entity.CcAnnouncementSend;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


public interface CcAnnouncementSendMapper extends BaseMapper<CcAnnouncementSend> {

	public List<String> queryByUserId(@Param("userId") String userId);

	/**
	 * @功能：获取我的消息
	 * @param announcementSendModel
	 * @param pageSize
	 * @param pageNo
	 * @return
	 */
	public List<com.yuncheng.ccsystem.announce.model.AnnouncementSendModel> getMyAnnouncementSendList(Page<com.yuncheng.ccsystem.announce.model.AnnouncementSendModel> page, @Param("announcementSendModel") AnnouncementSendModel announcementSendModel);

}
